import { configureStore } from '@reduxjs/toolkit';
import rootReducer from './reducers';
import thunkMiddleware from 'redux-thunk';
 
const store = configureStore({
  reducer: rootReducer,
  // 其他配置选项
  middleware: [thunkMiddleware],
});
 
export default store;

// 参考连接 https://blog.csdn.net/qq_50675668/article/details/131238948

